 /**
 * Description: 物资管理
 * @author:Hunter
 * @since:1.0.0
 *
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2018-04-08   Hunter       1.0.0     Initial
 */
package com.metro.paperless.biz.beans.vo;

import com.metro.paperless.biz.beans.entity.BizMaterialsManageEntity;
import com.metro.paperless.common.beans.constant.DicTypeEnum;
import com.metro.paperless.common.utils.DicUtil;

import lombok.Data;
import lombok.EqualsAndHashCode;
 /**
 * 物资管理<br>
 *
 * @author:Hunter
 * @since:1.0.0
 * @version [1.0.0, 2018-04-08]
 */
@Data()
@EqualsAndHashCode(callSuper = false)
public class BizMaterialsManage extends BizMaterialsManageEntity{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String beginAddTime;
	
	private String endAddTime;

    public String getCurStatusStr() {
        return DicUtil.getName(DicTypeEnum.CUR_STATUS, this.getCurStatus());
    }
    
    public String getUnitStr() {
        return DicUtil.getName(DicTypeEnum.MAT_UNIT, this.getUnit());
    }
    
    public String getMaterialsTypeStr() {
        return DicUtil.getName(DicTypeEnum.MAT_TYPE, this.getMaterialsType());
    }
    
    

}
